$(function(){
    $(function () {
        $('#charts_1').highcharts({
            chart: {
                type: 'area'
            },
            title: {
                text: ''
            },
            credits: {
                enabled: false // 禁用版权信息
            },
            /*subtitle: {
                text: 'Source: Wikipedia.org'
            },*/
            xAxis: {
                categories: ['1750', '1800', '1850', '1900', '1950', '1999', '2050'],
                tickmarkPlacement: 'on',
                title: {
                    enabled: false
                }
            },
            yAxis: {
                title: {
                    text: '个'
                }
            },
            tooltip: {
                shared: true,
                valueSuffix: ' 个'
            },
            plotOptions: {
                area: {
                    stacking: 'normal',
                    lineColor: '#666666',
                    lineWidth: 1,
                    marker: {
                        lineWidth: 1,
                        lineColor: '#666666'
                    }
                }
            },
            series: [{
                name: '昨天',
                data: [502, 635, 809, 947, 1402, 3634, 5268]
            }, {
                name: '今天',
                data: [106, 107, 111, 133, 221, 767, 1766]
            }]
        });
    });
});